<template>
  <div id="layout-page">
    <a-layout style="height: 100vh; background: white">
      <a-layout-header id="layout-header">
        <ToolHeader />
      </a-layout-header>
      <a-layout-content id="layout-content">
        <RouterView />
      </a-layout-content>
      <a-layout-footer id="layout-footer">
        <ToolFooter />
      </a-layout-footer>
    </a-layout>
  </div>
</template>
<script setup>
import ToolHeader from "@/components/ToolHeader.vue";
import ToolFooter from "@/components/ToolFooter.vue";
</script>

<style scoped lang="scss">
#layout-page {
}

#layout-header {
  height: 50px;
  margin-bottom: 16px;
  padding: 0;
  box-shadow: gray 1px 1px 5px;
}

#layout-content {
  margin-bottom: 28px;
  padding: 20px;
  background: white;
}

#layout-footer {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 16px;
  text-align: center;
  background-color: white;
}
</style>
